package it.com.chen.movieReleasesDB;

import java.util.HashMap;

public abstract class MovieListPrinter {

	public static void print(HashMap<Integer, DBEntry> db){
		System.out.println("# Java movie database");
		for (int i = 0; i < db.size(); i++) {
			DBEntry entry = db.get(i);
			System.out.println("\tMovie \"" + entry.getMovieTitle()
					+ "\" Release date \""
					+ entry.getReleaseDate() + "/"
					+ CalendarMonthManager.convertMonth(entry.getReleaseMonth()) + "/"
					+ entry.getReleaseYear() + "\" Url \""
					+ entry.getDescriptionUrl()+"\"");
		}
	}

}
